package com.hao.crm.util;

import javax.servlet.http.HttpServletRequest;

public class UserContext {
	public static final String USER_IN_SESSION = "userINsession";
	public static final String PERMISSION_IN_SESSION = "permissionINsession";
	public static final String MENU_IN_SESSION = "menuINsession";
	public static ThreadLocal<HttpServletRequest> local = new ThreadLocal<>();
	public static HttpServletRequest get() {
		return local.get();
	}
	public static void set(HttpServletRequest request) {
		local.set(request);
	}
	

}
